package com.ssyc.gsk_parents.bean;

import java.util.List;

/**
 * 学生端--通讯录--好友和群组的数据模型
 * Created by Administrator on 2018/5/15 0015.
 */

public class AddressBookInfo {

    /**
     * friendlist : [{"role":"1","headimg":"http://192.168.0.247/ycsj_nce2_count/img/1.jpg","user_id":"18007182258","name":"HB","description":"There is nothing.","token2":"fb1e0a4573c9dfba87475ac5685c9e17","type":"0","status":"0"},{"role":"0","headimg":"http://192.168.0.247/ycsj_nce2_count/img/1.jpg","user_id":"18007182258","name":"HB","description":"There is nothing.","token2":"5284578cee0726f159f9765e9de34405","type":"0","status":"0"},{"role":"2","headimg":"http://192.168.0.247/ycsj_nce2_count/img/1.jpg","user_id":"15926435673","name":"HB","description":"There is nothing.","token2":"d22dc23e227814adb769ffdcd73204b3","type":"0","status":"0"}]
     * state : 1
     * grouplist : [{"groupid":"15926435673201","groupicon":"http://192.168.0.247/ycsj_nce2_count/img/1.jpg","groupname":"1鐝兢","tid":"480667208"}]
     */

    private String state;
    private List<FriendlistBean> friendlist;
    private List<GrouplistBean> grouplist;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<FriendlistBean> getFriendlist() {
        return friendlist;
    }

    public void setFriendlist(List<FriendlistBean> friendlist) {
        this.friendlist = friendlist;
    }

    public List<GrouplistBean> getGrouplist() {
        return grouplist;
    }

    public void setGrouplist(List<GrouplistBean> grouplist) {
        this.grouplist = grouplist;
    }

    public static class FriendlistBean {
        /**
         * role : 1
         * headimg : http://192.168.0.247/ycsj_nce2_count/img/1.jpg
         * user_id : 18007182258
         * name : HB
         * description : There is nothing.
         * token2 : fb1e0a4573c9dfba87475ac5685c9e17
         * type : 0
         * status : 0
         */

        private String role;
        private String headimg;
        private String user_id;
        private String name;
        private String description;
        private String token2;
        private String type;
        private String status;

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getHeadimg() {
            return headimg;
        }

        public void setHeadimg(String headimg) {
            this.headimg = headimg;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getToken2() {
            return token2;
        }

        public void setToken2(String token2) {
            this.token2 = token2;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }

    public static class GrouplistBean {
        /**
         * groupid : 15926435673201
         * groupicon : http://192.168.0.247/ycsj_nce2_count/img/1.jpg
         * groupname : 1鐝兢
         * tid : 480667208
         */

        private String groupid;
        private String groupicon;
        private String groupname;
        private String tid;

        public String getGroupid() {
            return groupid;
        }

        public void setGroupid(String groupid) {
            this.groupid = groupid;
        }

        public String getGroupicon() {
            return groupicon;
        }

        public void setGroupicon(String groupicon) {
            this.groupicon = groupicon;
        }

        public String getGroupname() {
            return groupname;
        }

        public void setGroupname(String groupname) {
            this.groupname = groupname;
        }

        public String getTid() {
            return tid;
        }

        public void setTid(String tid) {
            this.tid = tid;
        }
    }
}
